/*******************************************************************************
 * Copyright (c) 2017 Chen Chao and other ECD project contributors.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *******************************************************************************/

package org.sf.feeling.decompiler.source.attach.finder;

import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;

public class GAV
{

	private String g;
	private String a;
	private String v;
	private String artifactLink;

	public String getG( )
	{
		return g;
	}

	public void setG( String g )
	{
		this.g = g;
	}

	public String getA( )
	{
		return a;
	}

	public void setA( String a )
	{
		this.a = a;
	}

	public String getV( )
	{
		return v;
	}

	public void setV( String v )
	{
		this.v = v;
	}

	public String getArtifactLink( )
	{
		return artifactLink;
	}

	public void setArtifactLink( String artifactLink )
	{
		this.artifactLink = artifactLink;
	}

	@Override
	public boolean equals( Object obj )
	{
		return EqualsBuilder.reflectionEquals( this, obj );
	}

	@Override
	public int hashCode( )
	{
		return HashCodeBuilder.reflectionHashCode( this );
	}

}
